package com.open.base.enums;

public enum RetEnum {

    SUCCESS(0, "成功"),;

    RetEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private final int code;

    private final String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
